package com.suyuan.service;

import com.github.pagehelper.PageInfo;
import com.suyuan.entity.EmployeeInfo;
import com.suyuan.entity.Permission;
import com.suyuan.entity.PermissionEmployee;
import com.suyuan.web.Page;

import java.util.List;

/**
 * 角色Service
 */
public interface PermissionEmployeeService {

    PageInfo list(Integer empId, Integer perId, Page page);

    int delete(int id);

    int save(PermissionEmployee pe);

    List<EmployeeInfo> getEmployees();

    List<Permission> getPermissions();

    int insertSelective(PermissionEmployee pe);

    List<PermissionEmployee> findByEmpId(Integer id);

    void deleteByEmpId(Integer gid);
}
